#include "VxIrrLib.h"

///this class helps finding issues between Irrlicht and Bullet representation: problem with transform, scaling, collision shapes and constraint setup.

//=== constructor ===//
IrrPhysDebugDrawer::IrrPhysDebugDrawer(irr::video::IVideoDriver * poVidDriver)
	: m_poDriver(poVidDriver)
	, m_bPhysDebugMode(0)
{
}
///most important debug drawing method, drawing lines
void IrrPhysDebugDrawer::drawLine(const btVector3& from,const btVector3& to,const btVector3& color)
{
	m_poDriver->draw3DLine((const irr::core::vector3df &)from,(const irr::core::vector3df &)to);
}

